import React from 'react';
// import logo from './logo.svg';
import { Button } from 'antd';
import '@/App.css';
import { useRoutes } from 'react-router-dom';
import routes from './routes';

const App: React.FC = () => {
  const element = useRoutes(routes)

  return (
    <div className="App">
      {element}
    </div>
  );
}

export default App;
